package com.example.service;

import com.example.entity.Banteacher;
import org.apache.ibatis.annotations.Param;

import java.util.List;

//@Service
public interface BanteacherService {



    public List<Banteacher> getPage(@Param("begin") int currentPage, @Param("size")int pageSize);

    public int getTotalCount();

    public Boolean add(Banteacher banteacher);

    public Boolean deleteById(Integer id);

    public Boolean update(Banteacher banteacher);

}
